home
***
CD-ROM
|
disk
|
FTP
|
other
***
search
/
Disc to the Future 2
/
Disc to the Future Part II Programmer's Reference (Wayzata Technology)(6013)(1992).bin
/
MAC
/
MPW_TOOL
/
TOOLS
/
TOOLS_WI
/
BYACC__
/
MAKEFILE.MPW
< prev
next >
Wrap
Text File
|
1989-11-19
|
4KB
|
156 lines
# This is the Makefile to generate byacc using MPW C 2.0.2.
#
# Earle R. Horton
# Sunday, November 19, 1989
#
PARSER = byaccpar
DEST = :
c = {MPW}TOOLS:C
.c.o ─ .c
{C} {default}.c -o {default}.c.o {CFLAGS} -s {Default}
CFLAGS = -g -dMPWC
HDRS = action.h ╢
defs.h ╢
dep.h ╢
files.h ╢
gram.h ╢
new.h ╢
state.h ╢
symtab.h ╢
text.h ╢
tokens.h
LDFLAGS = -d -c 'MPS ' -t MPST -sg Sys=Main,STDIO,INTENV,new,error,files,main ╢
-sg yacc=closure,conflict,derives,genstate,lalr,main,mkpar,nullable,optim,output,print,reader,symtab,text,warshall,yylex ╢
-ra Sys=resProtected -ra yacc=resProtected
LIBS = ╢
"{CLibraries}stubs.c.o" ╢
"{CLibraries}"CRuntime.o ╢
"{CLibraries}"StdCLib.o ╢
"{CLibraries}"CInterface.o ╢
"{Libraries}"Interface.o
LINKER = link
MAKEFILE = Makefile
OBJS = closure.c.o ╢
conflicts.c.o ╢
derives.c.o ╢
error.c.o ╢
files.c.o ╢
genstates.c.o ╢
gram.c.o ╢
lalr.c.o ╢
main.c.o ╢
mkpar.c.o ╢
new.c.o ╢
nullable.c.o ╢
optim.c.o ╢
output.c.o ╢
print.c.o ╢
reader.c.o ╢
symtab.c.o ╢
text.c.o ╢
warshall.c.o ╢
yylex.c.o
PRINT = print
PROGRAM = byacc
SRCS = closure.c ╢
conflicts.c ╢
derives.c ╢
error.c ╢
files.c ╢
genstates.c ╢
gram.c ╢
lalr.c ╢
main.c ╢
mkpar.c ╢
new.c ╢
nullable.c ╢
optim.c ╢
output.c ╢
print.c ╢
reader.c ╢
symtab.c ╢
text.c ╢
warshall.c ╢
yylex.c
all ─ {PROGRAM}
{PROGRAM} ─ {OBJS} {PARSER}
echo -n "Loading {PROGRAM} ... "
delete -i {PROGRAM}
{LINKER} {LDFLAGS} {OBJS} {LIBS} -o {PROGRAM}
catenate {PARSER} >> {PROGRAM}
setfile {PROGRAM} -t MPST -c 'MPS '
echo "done"
clean ─
delete -i {OBJS}
depend ─; @mkmf -f {MAKEFILE} PROGRAM={PROGRAM} DEST={DEST}
index ─
ctags -wx {HDRS} {SRCS}
install ─ {PROGRAM}
echo Installing {PROGRAM} in {DEST}
@install -s {PROGRAM} {DEST}
listing ─
{PRINT} Makefile {HDRS} {SRCS} byaccpar | lpr
lint ─
lint {SRCS}
program ─ {PROGRAM}
tags ─ {HDRS} {SRCS}
ctags -t {HDRS} {SRCS}
update ─ {DEST}{PROGRAM}
{DEST}{PROGRAM} ─ {SRCS} {LIBS} {HDRS}
@make -f {MAKEFILE} DEST={DEST} install
###
closure.c.o ─ {include}stdio.h defs.h dep.h new.h gram.h
conflicts.c.o ─ {include}stdio.h defs.h dep.h new.h files.h gram.h state.h
derives.c.o ─ {include}stdio.h defs.h new.h gram.h
error.c.o ─ {include}stdio.h {include}signal.h ╢
defs.h files.h text.h symtab.h
files.c.o ─ {include}stdio.h {include}files.h files.h new.h defs.h
genstates.c.o ─ {include}stdio.h defs.h dep.h new.h gram.h state.h
getargs.c.o ─ {include}stdio.h defs.h files.h
lalr.c.o ─ {include}stdio.h defs.h dep.h gram.h new.h state.h
main.c.o ─ {include}stdio.h {include}signal.h ╢
dep.h files.h state.h symtab.h tokens.h ╢
text.h defs.h
mkpar.c.o ─ {include}stdio.h action.h defs.h dep.h files.h gram.h new.h ╢
state.h tokens.h text.h symtab.h
new.c.o ─ defs.h
nullable.c.o ─ {include}stdio.h gram.h new.h defs.h
optim.c.o ─ {include}stdio.h defs.h dep.h gram.h new.h state.h
output.c.o ─ {include}stdio.h action.h defs.h dep.h new.h files.h gram.h ╢
state.h
print.c.o ─ {include}stdio.h action.h defs.h dep.h new.h files.h gram.h ╢
state.h
reader.c.o ─ {include}stdio.h defs.h dep.h files.h gram.h new.h symtab.h ╢
text.h tokens.h
symtab.c.o ─ {include}stdio.h defs.h new.h symtab.h tokens.h text.h
text.c.o ─ {include}stdio.h files.h new.h text.h defs.h
warshall.c.o ─ dep.h defs.h
yylex.c.o ─ {include}stdio.h defs.h dep.h files.h new.h symtab.h text.h ╢
tokens.h